.history-container {
    background-color: #f5f5f5;
    padding: 20px 0;
    min-height: 500px;
}

.history-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

/* 左侧导航 */
.side-nav {
    width: 150px;
    background-color: #fff;
    padding: 20px 0;
}

.nav-item {
    padding: 10px 20px;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    display: block;
}

.nav-item a.active {
    color: #e1251b;
}

/* 右侧内容 */
.history-content {
    flex: 1;
    background-color: #fff;
}

.content-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header h3 {
    font-size: 16px;
    font-weight: bold;
}

.history-count {
    color: #999;
}

/* 浏览记录列表 */
.history-list {
    padding: 20px;
}

.history-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.item-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-title {
    font-size: 14px;
    color: #333;
}

.item-spec {
    color: #999;
    font-size: 12px;
}

.item-price {
    color: #e1251b;
    font-size: 16px;
    font-weight: bold;
}

.item-date {
    color: #999;
    font-size: 12px;
}

.item-actions {
    margin-left: 20px;
}

.btn-delete {
    padding: 6px 15px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete:hover {
    color: #e1251b;
    border-color: #e1251b;
}

/* 移除页脚白色背景 */
.history-container .footer {
    background: none;
}

.history-container .footer .copyright {
    background: transparent;
} 